cd(/)
cmo.createMailSession('smtp.qcorp.aa.com')
cd('/MailSessions/smtp.qcorp.aa.com')
cmo.setJNDIName('smtp.qcorp.aa.com')
prop=Properties()
prop.setProperty('mail.host', 'smtp.qcorp.aa.com')
prop.setProperty('mail.host', 'smtp.qcorp.aa.com')
cmo.setProperties(prop)
set('Targets',jarray.array([ObjectName('com.bea:Name=AflsAdmSer,Type=Server')], ObjectName))